﻿using System;
using System.Collections.Generic;
using System.Text;

using SugarWebApi.Commands;

namespace SugarWebApi
{
	public class LogoutResult : SugarWebResult
	{

		#region Constructors

		internal LogoutResult(
			LogoutCommand command,
			bool success)
			: base(command, success)
		{
		}

		#endregion

		#region Properties

		public new LogoutCommand Command
		{
			get { return base.Command as LogoutCommand; }
		} 

		public string SessionId
		{
			get { return this.Command.SessionId; }
			// protected set
		}

		#endregion

	}
}
